package com.ruoyi.common.core.page;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.ToString;

/**
 * @author 11975
 */
@Data
@ToString
public class PageInfo {
    /**
     * 当前记录起始索引
     */
    @TableField(exist = false)
    private Integer pageNum;

    /**
     * 每页显示记录数
     */
    @TableField(exist = false)
    private Integer pageSize;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
